﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LoWoTSniffer
{
    // 用于随机生成rgb三种值
    class ColorRandom
    {
        public byte[] rRandom = new byte[256];
        public byte[] gRandom = new byte[256];
        public byte[] bRandom = new byte[256];

        public ColorRandom()
        {
            Random ran = new Random();
            for(int i=0; i<256; i++)
            {
             rRandom[i] = (byte)ran.Next(0, 255);
            }
            for (int i = 0; i < 256; i++)
            {
                gRandom[i] = (byte)ran.Next(0, 255);
            }
            for (int i = 0; i < 256; i++)
            {
                bRandom[i] = (byte)ran.Next(0, 255);
            }
        }

    }
}
